<include file="public@header" />
<head>
		<meta charset="utf-8" />
		<title>济南恭德陵园服务通知单</title>
	</head>
	<style scoped="scoped">
		table td{
			padding: 0px;
			width: 23.3mm;
			/* font-size: 4mm; */
			text-align: center;
		}
		table tr{
			overflow: hidden;
		}
		.table-div{
			display: inline-block;vertical-align: top;text-align: right;font-size: 4mm;
		}
	</style>
	<body>
		<table style="width: 241mm;height: 139.7mm;border-collapse: collapse;table-layout:fixed" border="1px">
			<tr>
				<td colspan="12" style="text-align: center;font-size: 6mm;">
					济南恭德陵园服务通知单
				</td>
			</tr>
			<tr>
				<td colspan="9" style="text-align: left;">
					<div class="table-div" style="width: 27mm;">{$year}年</div>
					<div class="table-div" style="width: 27mm;">{$month}月</div>
					<div class="table-div" style="width: 27mm;">{$day}日</div>
				</td>
				<td colspan="3">
					<div style="padding-right: 2mm;">
						<div class="table-div" style="float: right;color: red;">1301330</div>
						<div class="table-div" style="float: right;">NO:</div>
					</div>
					
				</td>
			</tr>
			<tr>
				<td rowspan="3">
					持证人
				</td>
				<td colspan="2" rowspan="3">{$result['buyer_name']}</td>
				<td rowspan="3">
					墓位
				</td>
				<td rowspan="2">
					名称
				</td>
				<td rowspan="2" colspan="3">{$result.tomb_region}{$result.tomb_address}</td>
				<td rowspan="3">安葬人</td>
				<td colspan="3">{$burid[0]}</td>
			</tr>
			<tr>
				<td colspan="3">{$burid[1]}</td>
			</tr>
			<tr>
				<td>编号</td>
				<td colspan="3">{$result.tomb_num}</td>
				<td colspan="3">{$burid[2]}</td>
			</tr>
			<tr>
				<td>落葬</td>
				<td colspan="2">服务项目</td>
				<td>数量</td>
				<td>单位</td>
				<td colspan="7">备注</td>
			</tr>
			<tr>
				<td></td>
				<td colspan="2"></td>
				<td></td>
				<td></td>
				<td colspan="7"></td>
			</tr>
			<tr>
				<td></td>
				<td colspan="2"></td>
				<td></td>
				<td></td>
				<td colspan="7"></td>
			</tr>
			<tr>
				<td rowspan="2">交单时间</td>
				<td rowspan="2"colspan="3"></td>
				<td rowspan="2"colspan="2">接单人</td>
				<td rowspan="2"colspan="2"></td>
				<td colspan="3">墓穴</td>
				<td >墓穴状态</td>
			</tr>
			<tr>
				<td>单穴</td>
				<td>双穴</td>
				<td>三穴</td>
				<td>{$result.col_status_name}</td>
			</tr>
			<tr>
				<td></td>
				<td colspan="11"></td>
			</tr>
			<tr>
				<td colspan="2">礼仪组负责人签字：</td>
				<td colspan="2"></td>
				<td colspan="2">接单人签字：</td>
				<td colspan="2"></td>
				<td colspan="2">经办人：</td>
				<td colspan="2"></td>
			</tr>
		</table>
		<div class="form-actions" id="button_form" style="width: 241mm;">
			<div class="btn btn-primary print"
				 data-key="1" id="toPrint" data-wm_id="{$result.tomb_id}" data-o_id="{$result.order_id}" ">打印结算单</div>
		</div>

	</body>
</html>
<script type="text/javascript">
	//打印
	$('.print').click(function () {
		document.getElementById("button_form").style.display="none";
		var printData =window.document.body.innerHTML; //获得 div 里的所有 html 数据
		document.body.innerHTML =  printData ;
		window.print();
		//打印结束后，放开隐藏内容
		document.getElementById("button_form").style.display="block";
		window.close();

	})
</script>